package org.springblade.demo05.service;

import org.springblade.demo05.entity.Idioms;
import org.springblade.demo05.mapper.IdiomsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IdiomsService {
    @Autowired
    private IdiomsMapper idiomsMapper;

    public Idioms getAllIdioms(String name){
        return idiomsMapper.getAllIdioms(name);
    }
}
